package edu.sctu.nieyu.day20150506.peoplesmessage;

/**
 * Created by user01 on 2015/5/6.
 */
public class Input {
    public void getInfor(Interf interf){
        PeopleOne peopleOne = new PeopleOne();
        peopleOne.sexMessage();
        interf.getMessage(peopleOne.name,peopleOne.age,peopleOne.sex);

        PeopleTwo peopleTwo = new PeopleTwo();
        peopleTwo.sexMessage();
        interf.getMessage(peopleTwo.name,peopleTwo.age,peopleTwo.sex);

        PeopleThree peopleThreee = new PeopleThree();
        peopleThreee.sexMessage();
        interf.getMessage(peopleThreee.name,peopleThreee.age,peopleThreee.sex);
    }
}
